FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre:edge-chromium

RUN mkdir -p /opt/apps

ADD target/demo-1.0.jar /opt/apps

ENV JAVA_APP_JAR=/opt/apps/demo-1.0.jar

ENV AB_OFF=true

ENV JAVA_OPTIONS=-Dfile.encoding=utf-8

CMD ["/deployments/run-java.sh"]
